facebook-graph-api

Is it possible to use Object type image in facebook app?

可紊 提交于 2020-01-20 09:16:51
问题 When I try and specify a object type of image for my facebook app, it says that it is reserved... so my question is how do i go about creating this object type... or do I not create an object type and use og type article for all my media types... kind regards to any repsonders... J 回答1: You may create whatever types you want within your application namespace (see Configuring Object Types) and later use that in your OpenGraph tags: <meta property="og:type" content="your-og-app:your-type"> If

Facebook login with JavaScript SDK error: “redirect URI not whitelisted” [duplicate]

坚强是说给别人听的谎言 提交于 2020-01-20 05:53:34
问题 This question already has answers here : Javascript Parse Facebook Login Issue (4 answers) Closed 3 years ago . I want my website to login with facebook but I am seeing this error. Given URL is not whitelisted in Client OAuth Settings: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs. <!DOCTYPE html> <html> <head> <title>Facebook Login

PHP Curl CURLOPT_IPRESOLVE

一世执手 提交于 2020-01-19 13:35:36
问题 I have been working on a facebook application which uses facebook graph API for authentication, recently facebook upgraded to IPv6 and my network does'nt support IPv6 so all of my calls started returning Host is unreachable error, I searched on facebook bugs and found that we can still use force the requests to facebook to use IPv4 using CURL CURLOPT_IPRESOLVE. Now when I try to send request to Facebook Graph API using curl I get Notice: Use of undefined constant CURLOPT_IPRESOLVE - assumed

PHP Curl CURLOPT_IPRESOLVE

南笙酒味 提交于 2020-01-19 13:35:20
问题 I have been working on a facebook application which uses facebook graph API for authentication, recently facebook upgraded to IPv6 and my network does'nt support IPv6 so all of my calls started returning Host is unreachable error, I searched on facebook bugs and found that we can still use force the requests to facebook to use IPv4 using CURL CURLOPT_IPRESOLVE. Now when I try to send request to Facebook Graph API using curl I get Notice: Use of undefined constant CURLOPT_IPRESOLVE - assumed

valid xhtml meta tags for facebook open-graph and twitter cards

倖福魔咒の 提交于 2020-01-19 06:21:07
问题 to make valid: xhtml twitter cards facebook-graph-api for http://www.theyact.com/acting-classes/los-angeles/ I've managed to get my code to come up valid everywhere... save 1 error on http://validator.w3.org/ there is no attribute "property" but only 1 instance among the many in the code, only the below seems to ruffle the validator's feathers: <meta name="og:description" property="og:description" content="... I'd like the code to be completely valid in validator.w3.org's eyes. What am I

Login Error: There is an error in logging you into this application. Please try again later

拥有回忆 提交于 2020-01-18 13:38:40
问题 I am getting this error. When I try to sign in with facebook to my app. When I first time authentication it will correctly working. After I unistalled my application and now trying to sign in with Facebook on that I am getting this error. Another Issue : After authenticate in device1 and try to login with facebook on device2 also same error is getting. Solution I Found : when I remove App authentication from Facebook App Settings it is working in above scenario's but this is not an good

Facebook graph api PHP comments issue

对着背影说爱祢 提交于 2020-01-17 12:44:48
问题 Any one familiar with Facebook graph api? I have a little bug.. I have coded an app Which reply to users comments with a greating comment but it reply with multiple comments instead a single reply.. Any help with this issue? Here is my webhook code <?php $verify_token = "***************"; if ($_REQUEST['hub_verify_token'] == $verify_token) { echo $_REQUEST['hub_challenge']; } require_once 'facebook_sdk/src/Facebook/autoload.php'; $input = json_decode(file_get_contents('php://input'), true);

Using Facebook Api birthday return null In android

扶醉桌前 提交于 2020-01-17 09:12:40
问题 In Android App Integrated Facebook Api. I am using Facebook sdk:4.21.0,But when GraphRequest Call birthday not return in Json Response. Please let me know whats wrong. I am also tested through give the public permission to date of birth of user. GraphRequest request = GraphRequest.newMeRequest( AccessToken.getCurrentAccessToken(), new GraphRequest.GraphJSONObjectCallback() { @Override public void onCompleted(JSONObject object, GraphResponse response) { LogUtils.logE(TAG, "JsonResponse: " +

Session does not invalidating in old facebook iframe app

孤人 提交于 2020-01-17 07:36:39
问题 I am facing a very strange issue. I have developed a Facebook iframe application almost a year back. I am using facebook-php-sdk for getting logged in user session and other details. I recently made some changes and used the new facebook OAuth based API. But I am now facing a problem, when user logs out from Facebook, still my iframe app is able to access its facebook session. The problem is only reproducible in IE. I am using CodeIgniter framework and have referred this post. Here is the

Session does not invalidating in old facebook iframe app

Deadly 提交于 2020-01-17 07:36:29
问题 I am facing a very strange issue. I have developed a Facebook iframe application almost a year back. I am using facebook-php-sdk for getting logged in user session and other details. I recently made some changes and used the new facebook OAuth based API. But I am now facing a problem, when user logs out from Facebook, still my iframe app is able to access its facebook session. The problem is only reproducible in IE. I am using CodeIgniter framework and have referred this post. Here is the