facebook-apps

Unable to get facebook incoming requests

▼魔方 西西 提交于 2019-12-07 05:37:24
问题 I am trying to implement send data and accept that data in my Facebook android game app.I am following https://developers.facebook.com/docs/android/send-requests/#notifications tutorial for that. I am able to send the request however I am unable to accept the data at the recipient side . My intentUri returning null every time so that's I am unable to get requestIds. my code for getting the data at the recipient side: intentUri = MainActivity.this.getIntent().getData(); if (intentUri != null)

How to show facebook comments “Add comment” field by default

瘦欲@ 提交于 2019-12-07 05:17:08
问题 I'm using facebook commenting plugin for my website and I came across one small problem. When a certain number of comments are made, the "Add comment" field disappears and user has to click on add comment link to show it. This one: I want to know if there is a way to always show "Add comment" field no matter how many comments are there. So it looks like this: EDIT: Here is my facebook-comments code <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)

Why is the first request to a Facebook IFrame App Canvas Page a POST request?

泪湿孤枕 提交于 2019-12-07 02:47:07
问题 I noticed when I set up my first FB app today (an iframe app accessed within facebook) that all the requests made to it via facebook are HTTP POSTs rather than GET requests. Is there any reason for this? What if I wanted to implement HTTP caching? I'm new to developing on the FB platform, forgive me if this is an obvious question but I've googled and can't find the answer. 回答1: Facebook POSTs to the initial page in order to pass along the signed request that includes potentially important

What's the difference between a Facebook app and a tab?

孤街浪徒 提交于 2019-12-07 01:03:27
问题 I want to add a link to my Facebook page that will open new information within my page. Not a website, but information from a scoring program my bowlers use. I'm not a programmer by any means and have no programmer on staff I am trying to teach myself these things as I go along. First of all, I have no idea if what I want to add is called a "tab" or an "app." I can't really seem to find a good explanation as to what the difference is. They both kind of sound the same to me. I've tried to

Retrieve Parameter From Page Tab URL

我是研究僧i 提交于 2019-12-06 15:58:17
I have a facebook tab application that has an URL. I want to pass the URL some GET parameters. Normally this is how I do a signed request to get user data: if ($signed_request = parsePageSignedRequest()) { $config = array( 'appId' => $app_id, 'secret' => $app_secret, ); $facebook = new Facebook($config); $ret_obj = $facebook->api('/me', 'GET', array()); $theemail = $ret_obj['email']; $thename = $ret_obj['name']; $theusername = $ret_obj['username']; } I was wondering how to get the GET parameter from the url. The url looks like: https://www.facebook.com/pages/Msomepagey/23023424231927?sk=app

Can't get access token for a facebook page for an application that has all the right permissions

不想你离开。 提交于 2019-12-06 14:51:51
问题 SO community, I am stuck in my attempt to have an application post automatically to my Facebook page. These are the steps I took: A) I authorized my application for all my facebook pages and granted permissions offline_access, publish_stream and manage_pages using https://www.facebook.com/dialog/oauth?client_id=<app_id>&redirect_uri=<url>&scope=read_stream,publish_stream,manage_pages,offline_access,publish_actions B) I requested the access token for the application with those permissions

Facebook Comments Mirroring doesn't work

泪湿孤枕 提交于 2019-12-06 04:45:01
Step by step i did these Create a new Facebook App (App ID: 544557495732050) Create a new Facebook Page ( https://www.facebook.com/Pasha-electronic-502844156580479/ ) In App which created by step 1 check yes (Yes, mirror to page - which created on step 2) https://developers.facebook.com/tools/comments Create a new web page (which include javascript src and div tag) http://pasha-k.az/ramin/test.html Share this link on Facebook Page which created by step 2 https://www.facebook.com/Pasha-electronic-502844156580479/ ) Problem: I see different comments. Comment mirroring does not work. Checklist :

Facebook returning error '(#200) Requires extended permission: publish_actions' even after getting 'publish actions' permission approved

我是研究僧i 提交于 2019-12-05 19:26:46
Hi I got ' publish_actions ' permission approved for my Facebook App. But when any user accessing this app, it is not prompting for 'post on your behalf on Facebook' permission. Unless this when any user try to comment on Facebook using this app, Facebook returns error stating: '(#200) Requires extended permission: publish_actions' OR 'The remote server returned an error: (403) Forbidden'. Can any one please help me in this? Thanks in advance. This error is thrown when you are using publish_actions permission without review. For testing purpose you can always make a test user in Roles column

Are Facebook Messenger page-scoped IDs globally unique?

痴心易碎 提交于 2019-12-05 13:21:22
I understand that the same user will have different page-scoped IDs (PSIDs) across different pages. But is it guaranteed that no two users will have the same PSID across different pages? For example, is it possible that user A has PSID 1234 while messaging page X, and user B has the same PSID 1234 when messaging page Y? Technically user A and user B would be differentiable even if they have the same PSID because they are messaging different pages. But can I assume that there will be no overlap on PSIDs across all pages, so that I may use the PSID as a globally unique ID regardless of the

How to show facebook comments “Add comment” field by default

喜你入骨 提交于 2019-12-05 11:44:48
I'm using facebook commenting plugin for my website and I came across one small problem. When a certain number of comments are made, the "Add comment" field disappears and user has to click on add comment link to show it. This one: I want to know if there is a way to always show "Add comment" field no matter how many comments are there. So it looks like this: EDIT: Here is my facebook-comments code <div id="fb-root"></div> <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 = "//connect.facebook