facebook-apps

How to verify a users facebook id when making ajax posts to php in facebook app

穿精又带淫゛_ 提交于 2019-12-02 09:50:25
I am looking for a way to verify a users facebook id when posting user specific data using ajax. I want to be able to verify that a facebook user id is correct when posting data using ajax. The problem being, that if I post the facebook id as part of my ajax data, it can be edited in the javascript. I could make a graph call on the server side, but these are really slow, so I want to keep graph calls to a minimum. Preferably only calling it at the beginning. Can any suggest an efficient/secure method? In the end my solution was to grab the users facebook id via the php sdk and creating a hash

get facebook extended permission for uploading photos

房东的猫 提交于 2019-12-02 08:31:31
问题 In my facebook application, when the users first starts using it,the app request very basic permission. At a later stage, I need to request extended permission to allow the app to upload photos, I'm googling when falling only on the legacy part: FB.Connect.showPermissionDialog("photo_upload",permissionHandler); Does someone has any idea how to get permission for uploading photos using the new sdk?? 回答1: There is no photo_upload permission. But, you can upload photos using the publish_stream

get facebook extended permission for uploading photos

青春壹個敷衍的年華 提交于 2019-12-02 06:25:46
In my facebook application, when the users first starts using it,the app request very basic permission. At a later stage, I need to request extended permission to allow the app to upload photos, I'm googling when falling only on the legacy part: FB.Connect.showPermissionDialog("photo_upload",permissionHandler); Does someone has any idea how to get permission for uploading photos using the new sdk?? There is no photo_upload permission. But, you can upload photos using the publish_stream permission instead. And you can see the user's photos using the user_photos permission. To obtain extended

Can't Create Facebook App

不羁岁月 提交于 2019-12-02 00:29:13
问题 First time trying to create a Facebook app. Browsed to https://developers.facebook.com/apps and it had a link for to register before creating a link where you just accept the T&C's. Now it says, "Create an app to start..." But there is no button to click to create app. 回答1: I was having this SAME exact problem just now. I have a verified personal account (email and credit card) and I couldn't see the button. This is what I was getting: I was at my wits end after 5 hours of reading similar

How to create a fan / like gate on Facebook?

六月ゝ 毕业季﹏ 提交于 2019-12-01 14:24:10
I am trying to create a simple fan/like gate. Where you specify one content for none fans and other content for fans (if they pressed the like button). However when I run the page in the page tab it does not return a signed request and thus there is no way for me to figure out how to do it. Can someone post a tutorial, or have a fix for this? At this point I got the following code: index.php <?php require dirname( __FILE__ ) . '/../api/facebook.php'; // Create our application instance // (replace this with your appId and secret). $facebook = new Facebook(array( 'appId' => '112458478872227',

How to create a fan / like gate on Facebook?

可紊 提交于 2019-12-01 12:29:38
问题 I am trying to create a simple fan/like gate. Where you specify one content for none fans and other content for fans (if they pressed the like button). However when I run the page in the page tab it does not return a signed request and thus there is no way for me to figure out how to do it. Can someone post a tutorial, or have a fix for this? At this point I got the following code: index.php <?php require dirname( __FILE__ ) . '/../api/facebook.php'; // Create our application instance //

Facebook apps redirecting “via {APP_NAME}” to an existing pages

蹲街弑〆低调 提交于 2019-12-01 11:21:18
I created an app on Facebook. Thanks to this app, the users can publish on their wall. All works fine, but I would like to specify an url to redirect to when the user click on the link "via {APP_NAME}" on a publication. For the moment, it's redirecting to https://www.facebook.com/apps/application.php?id=APP_ID Link with text "via Application Name" that appear aside of stories published by applications lead to: Application Canvas URL - if Application have Canvas URL configured in application settings Application Site URL - if Application have Site (but not Canvas) URL configured Application

Facebook Messenger App Invalid Scope - permission: pages_messaging_subscriptions

醉酒当歌 提交于 2019-12-01 07:15:41
问题 I'm attempting to connect a Facebook Messenger App to one of my pages.. I've connected Facebook Messenger Apps to pages before. But this is the first time I've received this error... What gives? 回答1: This is a bug and we are currently working on it. In the meantime, please use our beta tier or generate the page access token through our API. To use the beta tier, you can access the following: https://developers.beta.facebook.com/apps/89000000000000/messenger/ 回答2: we got same error and here is

Created New Facebook Application for Android publish permission not working.Used Facebook sdk 3.14.xx and samples

旧巷老猫 提交于 2019-12-01 01:13:23
I am using facebook sdk 3.14(latest updated sdk) and created application for android platform like other old applications which i have added same options and everything. i want to use share photo feature for that I am using below code to add publish_actions permission. but permission is not getting updated or granted. ** I have checked with other old application which i have created last month which is working fine with same code photo sharing and all is working , permissions also getting add. But application which i have created today.with that app id I am not able to add permission for

Created New Facebook Application for Android publish permission not working.Used Facebook sdk 3.14.xx and samples

孤街醉人 提交于 2019-11-30 19:12:00
问题 I am using facebook sdk 3.14(latest updated sdk) and created application for android platform like other old applications which i have added same options and everything. i want to use share photo feature for that I am using below code to add publish_actions permission. but permission is not getting updated or granted. ** I have checked with other old application which i have created last month which is working fine with same code photo sharing and all is working , permissions also getting add