facebook-app-requests

FB.AppRequest does not work

帅比萌擦擦* 提交于 2020-01-25 08:10:06
问题 I am trying to send App Requests with Facebook SDK on Unity. Everything is alright until I press 'send'. It also returns a success but nothing happens in my friends' facebook :S FB.AppRequest(message, null, null, null, null, null, title, (result) => { Debug.Log(result.RawResult); } ); As you can see, I am able to show the friends list and select the ones who will receive the request. After pressing send, it returns a success(I have put the Xs intentionally). However, nothing happens on my

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

被刻印的时光 ゝ 提交于 2020-01-13 16:25:10
问题 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. 回答1: This error is thrown when you are using

Login to my app using facebook : error when using Facebook App

馋奶兔 提交于 2020-01-07 02:18:12
问题 Here is the Screenshot Logging into my App using Facebook credentials is not working correctly through browsers. But it gives an error when logging in through the Facebook App. It is not automatically redirecting to my App and remains in Facebook by showing "The page you requested cannot be displayed right now. It may be temporarily unavailable.....".like that. Thanks in Advance. Here is my LoginActivity: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

Facebook AppRequest handle on unity3d game

这一生的挚爱 提交于 2020-01-01 14:20:12
问题 I am trying to make a game in Unity3D with new facebook unity sdk. I am able to send an AppRequest to the friends in my list. But my doubt is, after my friends has downloaded the same game, how can I communicate with friends using the AppRequest. For eg. If I am sending a "Life" to the friend, my friend should see a "Life" sent from me in his game. his "Life" counter should get incremented by 1 (life++). Same thing with "Ammo" can be done. Sender : How to differentiate the "Life request" and

Facebook invite request error android

≯℡__Kan透↙ 提交于 2019-12-23 05:34:36
问题 When I invite friends from my application, they got a notification on Facebook saying I invited them to my game. However, when they click on the notification they got a error saying: "The requested page can not be displayed right now...". Could the reason be that the application is not published on google play or app store yet? If not, any suggestions? 回答1: The problem will be in your application registration on Facebook developer site. The invite button should show a notification to the user

Facebook Using code from different domains

烂漫一生 提交于 2019-12-14 03:54:31
问题 I am creating a widget in js that will be implemented across many websites, Facebook requires me to give them "my domain" so they will know that I am verified. The problem is that the widget will be used from many websites, and I am not going to manuly list all of those domains to Facebook. How can I enable my app to work from those different websites using js only? (for the widget) Thanks in advance. 回答1: i use ajax for something similar. i ajax to a php page, and use the php sdk for all the

how to save facebook access token after success

喜欢而已 提交于 2019-12-13 00:48:34
问题 when user allow my app i receive this type of success url: http://localhost/fbapp/app.php#access_token=AAAAALY8OpPABAM67auStdfgdfOdfgdfgdenqEt9QZCGD2a1h3iWFrhmNWqOf8l4a9RQ8tAJCM9y5QbYpsP6sT1g0ZCXDhtZCECZApGb&expires_in=6604 i am trying $_GET['access_token'] to save access token, but it's not working, i want to know that how to get access token from this url.. 回答1: From your use of $_GET, I'm assuming you are talking about PHP. Unfortunately, hash tags are never sent to the server. They only

Facebook App invitation request

邮差的信 提交于 2019-12-12 02:54:42
问题 I want to send the App req to 5 people , i have managed to get the UserID's of 5 people but its always those same 5 people , isnt there a way to randomise the USERID's which i get from Facebook ? <script> var profilePicsDiv = document.getElementById('profile_pics'); FB.getLoginStatus(function(response) { FB.api({ method: 'friends.get' }, function(result) { Log.info('friends.get response', result); var user_ids="" ; var numFriends = result ? Math.min(5, result.length) : 0; if (numFriends > 0)

Do review required if we want to get Facebook Page like count (Without Facebook login) by Facebook app token?

混江龙づ霸主 提交于 2019-12-11 21:23:10
问题 I am doing a static web page in my website, in which I am showing the like count of particular Facebook page. There is no kind of login required to see this web page. Also, I don't want to user to login with their Facebook account to see the Facebook page like count. I have implemented this requirement by using Facebook app token. API: "https://graph.facebook.com/PAGE_ID?access_token=APP_TOKEN" But the problem here is, If I use the app token of already approved app by Facebook with some

My Facebook Messenger Bot is completed, but isn't visible to be approved

徘徊边缘 提交于 2019-12-10 23:19:13
问题 We built a Facebook Messenger bot that works perfectly. The bot is only available to developers and testers and can't be made public until it's approved. We submitted it for approval but the approval person obviously didn't have access to the bot because they typed in the commands and got no reply (which is expected if they're not a developer or tester). The screenshot they showed also didn't have the "get started" at the beginning, which is another clue that they didn't have access) How do I