spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
  Home » FACEBOOK » Page 1
Detect "public status" of a Facebook app
Just call the app ID in an API call. http://graph.facebook.com/APP_ID If public, HTTP 200 and response shown If not public, HTTP 400 with { "error": { "message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", "type": "GraphMethodException", "code": 100 } } This above concept just plays on errors i

Categories : Facebook

Can I use read_stream permission if my App can be accessed from Facebook and as website?
As it says in the article you posted, you will most likely not get read_stream approved at all for your case: This permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps will not be approved for this permission. In addition, Web, Desktop and TV apps will not be granted this permission.

Categories : Facebook

Get FB likers details
No, the Graph Search is only available on facebook.com, you can´t access it with the Graph API. You can only search for Users with their name: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#search

Categories : Facebook

Getting statuses of any user on facebook
It is not possible to get any status post of a User without authorizing that specific User with the read_stream permission, not even public ones. Keep in mind that you will most likely not get read_stream approved in the review process: This permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps

Categories : Facebook

Facebook request permission
Check: http://docs.meteor.com/#/full/accounts_ui_config and also https://developers.facebook.com/docs/reference/fql/permissions/ You need ask Facebook for the permissions, there's a review process for this. It's useless to request a permission that Facebook didn't provided you. Read this topic about recent facebook changes to the API: Facebook Graph Api v2.0+ - /me/friends returns empty, or only

Categories : Facebook

How do I get video likes of my posted videos through facebook api
You can get the videos with the /me/videos/uploaded endpoint: https://developers.facebook.com/docs/graph-api/reference/v2.2/user/videos /{user-id}/videos/uploaded shows all videos that were published to Facebook by this person.

Categories : Facebook

Why do I get a custom audience successful response without actual success?
I'd say the issue was Facebook returning a "success" message because it received the hashed values successfully and can process those hashes without issue. This doesn't imply that the matching is done on Facebook's end or that they got matches. Rather than have your connection wait while it processes your hashes, Facebook will just make sure everything's OK, return that success message, and then

Categories : Facebook

Automatic Facebook access token generation using my account on server?
As WizKid commented, it´s not possible to generate Access Tokens on the server. The whole concept of short time Tokens would be useless if that would be possible. You can only extend your User Token to 60 days, read the docs for information about that: https://developers.facebook.com/docs/facebook-login/access-tokens/ https://developers.facebook.com/docs/php/FacebookSession/4.0.0#getlonglivedse

Categories : Facebook

Graph API 2.2 and page admins
The /{page_id}/admins edge on the Page node has been renamed to /v2.2/{page_id}/roles Source: https://developers.facebook.com/docs/apps/changelog

Categories : Facebook

Which fields are available for the &fields parameter in the Graph API /search endpoint?
There is no exact documentation on the search fields endpoint. An educated guess would be that based on the type you can inspect the fields of that page. Example, for type=page the fields available will be listed at https://developers.facebook.com/docs/graph-api/reference/v2.2/page

Categories : Facebook

Why do my blogger posts have blurry thumbnails on Facebook?
If you are facing this problem then do not share your Blogger Post directly with the help of SHARE Button. Instead you copy the URL of your post and then paste that URL in the Status or Comment section.

Categories : Facebook

Facebook Page Tab FB.login issue on mobile
I don´t see any redirection code in there, but i assume you try to redirect to the Page URL (www.facebook.com/yourpage?app_xxxxx) - it does not work on mobile, so you have to redirect to the source of the iframe on mobile. Meaning, the URL you put in the Page Tab platform in your App settings. One way to do a mobile detection: http://mobiledetect.net/

Categories : Facebook

No Facebook Friend's email address are returned by using Graph API
There is no way of getting friends' email addresses. The email permission is used to get the user's email address, and user_friends permission is to find friends who also uses the same application. The reason both your app and the Graph API doesn't return email addresses is because it's not possible (for obvious reasons, like spamming). There is no way around this. If you want to invite friends

Categories : Facebook

if I login a website with facebook account, what can the ower of the website do with my account?
In very simple terms, all you are doing is authenticating against Facebook for the site. The site will redirect you to Facebook and receive a token back saying you are who you are. They cannot change/access your account if you are worried about that.

Categories : Facebook

Facebook pulls Plesk default page in web scrape
This error message "property should be explicitly provided" is quite clear You should define this properties in code of your site in <head> like: <meta property="og:url" content="http://www.4you2take.com/" /> <meta property="og:title" content="4 you 2 take.com" /> <meta property="og:description" content="Your portal for Freecycling listings around the world. List for free an

Categories : Facebook

Adding facebook comment box plugin for web based phonegap app
The best solution I have found so far is to call the comments box from inside an iframe. The only problems with this methodology so far is logging in and setting the iframe height. I am still working on a solution

Categories : Facebook

Facebook API fetching user's first name
Welcome to the world of asynchronous programming :) The callback of the API call will get called asynchronously, so Test Point 2 will get called immediately after FB.api, but the function with the response will get called later. Correct solution (you can´t work with "return"): function firstName(callback){ FB.api('/me', function(response) { if (!response || response.error) {

Categories : Facebook

Analyse user feed using facebook graphapi 2.x
There really isn't any easy way to say this, this is a data intensive query. Number of posts you need /me/posts with read_stream permission Number of likes you need user_likes for pages under the /me/likes endpoint Number of photos you need /me/photos/uploaded with user_photos permission etc. You really just need to go into the documentation and match the FQL to the Graph API equivalent.

Categories : Facebook

Integrate Facebook with Phongap
You can go with web and fb js integration, however Facebook highly recommends usage of their native SDK's in mobile platforms. It adds integration with the Facebook app installed on user devices for authentication and favoured by users and Facebook afaik. Anyhow, you have cordova/phonegap plugins to integrate facebook, just do a search on plugreg: http://plugreg.com/search?q=facebook PS: I am on

Categories : Facebook

titanium app no longer connects to facebook
OH You cannot connect to facebook on nexus 4 on 4.4.4. kitkat over a wifi connection. I don't know if this affects all nexus 4 kitkats, or just some. Turning off the wifi and connecting over my carrier yields a successful connection. Two weeks ago we'd just moved apartment, so I didn't have wifi setup!

Categories : Facebook

Must i use facebook canvas to login on my unity web player game?
According to the docs, setting up an app in the Developer Console with Facebook is part of the setup process for using the official Facebook Unity SDK. I can understand why it would be nice to be able to use the FB Login for Unity web player games hosted on other game web sites. I looked in the Facebook usage policy document in the Login section, and although Facebook says native iOS and Androi

Categories : Facebook

Spring social - Facebook cant authenticate
Are you using SpringSocialConfigurer? Are you simply calling the "/auth/{provider}"? My guess is that you have the following issue: You successfully signed in via facebook, however you do not have an existing userconnection with an existing local user you do not have a local user and need to establish a connection with a provider You can do a few things to test try the signup approach usi

Categories : Facebook

How do i connect facebook login to cordova application
Add https in front of the url you are using so that it doesn't default to the file:// protocol: <script> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&appId=738518636191412&version=v2.0"‌​; fjs.parentN

Categories : Facebook

Facebook friends list is empty, just for one specific user
Since v2.0 of the Facebook API, you can only get the friends who authorized your App too. It´s a (privacy) feature, not a bug. https://developers.facebook.com/docs/apps/changelog Also, it´s not necessary to use an ID for the call, because you can only get the friends of the authorized User anyway: /me/friends Btw, don´t forget to authorize Users with the user_friends permission.

Categories : Facebook

HOW TO GET LOCATION DETAILS OF A PARTICULAR USER (may be a non-friend) in facebook through GRAPH API
For obvious reasons (privacy and stuff) you can´t get the location details (=checkins) of any user. You can ONLY get it by authorizing a User with the correct permission and ONLY for that authorized User. Although, i am not sure if it´s even possible anymore to get the checkins even for the authorized User - because the checkin endpoint is deprecated.

Categories : Facebook

Parse Facebook SDK setup with Swift in Xcode
For step 7, put that code in your AppDelegate.swift file. That block of code is called when your application is called back into by either Safari or Facebook.app when the user logs in (or cancels the login) via Facebook.

Categories : Facebook

Facebook Like Popup Position
(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); Post by Ruby Faye Armas Caguin.

Categories : Facebook

How to extend facebook access token in python
According to their subsection on extending short lived client tokens, you'll need to take in your short lived client token and, having filled in the relevant app data, send a GET request from your server to the following endpoint: GET /oauth/access_token? grant_type=fb_exchange_token& client_id={app-id}& client_secret={app-secret}& fb_exchange_token={short-lived-t

Categories : Facebook

After FB.ui feed popup don't close after send post
For the FB.ui share dialog I've achieved this with a little help from jQuery: $('#fb_dialog_loader_close').trigger('click'); I had to do it this way because the dialog didn't close when an error was returned. Obviously that only works if the dialog is injected into the DOM, but you could try to use self.close as well as fallback.

Categories : Facebook

File upload control not working in Facebook In-App Browser
Same problem. The only solution I found for now is to suggest to visitors by an alert message to open the website in Safari (for iPhone of course), with the action button at the top right of the facebook web browser. This is a specific user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B435 [FBAN/FBIOS;FBAV/18.0.0.14.11;FB

Categories : Facebook


Recently Add
Facebook Graph Api : Missing comments
Detect "public status" of a Facebook app
Can I use read_stream permission if my App can be accessed from Facebook and as website?
Get FB likers details
Getting statuses of any user on facebook
Facebook request permission
How do I get video likes of my posted videos through facebook api
Why do I get a custom audience successful response without actual success?
Automatic Facebook access token generation using my account on server?
Graph API 2.2 and page admins
Which fields are available for the &fields parameter in the Graph API /search endpoint?
Why do my blogger posts have blurry thumbnails on Facebook?
Facebook Page Tab FB.login issue on mobile
No Facebook Friend's email address are returned by using Graph API
if I login a website with facebook account, what can the ower of the website do with my account?
Facebook pulls Plesk default page in web scrape
Adding facebook comment box plugin for web based phonegap app
Facebook API fetching user's first name
Analyse user feed using facebook graphapi 2.x
Integrate Facebook with Phongap
titanium app no longer connects to facebook
Must i use facebook canvas to login on my unity web player game?
Spring social - Facebook cant authenticate
How do i connect facebook login to cordova application
Facebook friends list is empty, just for one specific user
HOW TO GET LOCATION DETAILS OF A PARTICULAR USER (may be a non-friend) in facebook through GRAPH API
Parse Facebook SDK setup with Swift in Xcode
Facebook Like Popup Position
How to extend facebook access token in python
After FB.ui feed popup don't close after send post
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.