facebook-graph-api

android opening facebook app on a specific post

早过忘川 提交于 2020-01-03 11:01:13
问题 I am working on an application that fetches posts from user stream (from stream table) and displays them. streams post_id fields are returned in the format of: {uid}_{postid}, e.g.: 100001147753406_320951738012113 How can I open facebook application to show such post? in web browser this can be done with the url: www.facebook.com/uid/posts/postid, and according to searches this should be accomplished by setting Intent's uri to: fb://post/{postid}?owner={uid} However, this does not always work

Posts that have tagged my Page don't show up with API call

前提是你 提交于 2020-01-03 08:48:51
问题 I have a Facebook Page created for my service here. The name of the page is Rowz. There are some posts on the page by users who have tagged the Page in posts on their own walls. Those posts show up on the Rowz Page timeline. In the Graph API for Page there is a field 'tagged' which I assumed would get me these posts but the same doesn't work. Is there a way to fetch those posts that have tagged Rowz in them? 回答1: According to the documentation for page object in graph API, tagged connection

Redirect after clicking on the Facebook login button, even if already logged in Facebook

不想你离开。 提交于 2020-01-03 08:21:31
问题 I have the standard Facebook login button on my homepage and I don't want people to automatically log into my site with their Facebook account, only if the user clicks the login button. If the user is not logged in Facebook, a popup will appear asking him his credentials and he will be redirected to loggedin.html after that. <div id="fb-root"></div> <fb:login-button perms="email"></fb:login-button> <script> window.fbAsyncInit = function() { FB.init({ appId : 'xxxxxxxxxxxx', status : true,

Redirect after clicking on the Facebook login button, even if already logged in Facebook

核能气质少年 提交于 2020-01-03 08:21:01
问题 I have the standard Facebook login button on my homepage and I don't want people to automatically log into my site with their Facebook account, only if the user clicks the login button. If the user is not logged in Facebook, a popup will appear asking him his credentials and he will be redirected to loggedin.html after that. <div id="fb-root"></div> <fb:login-button perms="email"></fb:login-button> <script> window.fbAsyncInit = function() { FB.init({ appId : 'xxxxxxxxxxxx', status : true,

What is the hexadecimal code of the “blue” background color of Facebook?

吃可爱长大的小学妹 提交于 2020-01-03 07:02:46
问题 I want to color my mobile phone application with a background color like Facebook's blue background color. So what is the hexadecimal code of it ? 回答1: The colour of the main blue banner is #3b5999 , and the lighter blue colour used for the backgrounds of comments is #eeeff4 . A way to figure this stuff out is grab a screenshot and open it in image editing software that has a colour picker tool (e.g GIMP) 回答2: You can also use firebug, for firefox and it can show you the css attached to any

How To get Facebook Follower using Graph Api and Graph Secret?

▼魔方 西西 提交于 2020-01-03 06:41:10
问题 i recently used Graph Api and Graph Secret and get Full Friends list from facebook. Now how to get Followers from facebook using graph api and secret ? any idea about it? previous i have using for get friend list using php sdk? please any one guide me? how to get facebook using Graph api and secret ? 回答1: Please refer to the Facebook docs before posting such a broad question. You're not able to get the subscribers anymore, because it was deprecated with Graph API v2.0. Furthermore, starting

Python how to do facebook wall post using graph api?

≯℡__Kan透↙ 提交于 2020-01-03 06:33:08
问题 i am trying to post a message into my wall using facebook graph api. I have my access_token. I have tried in my browser using following URL. https://graph.facebook.com/me/feed?message="Hii friends"&access_token=xxxxxxxxxx But message is not posted. So i couldn't solve this problem. Finally i want to use this URL inside urllib2.urlopen() Please Help 回答1: I recently got posting to facebook to work like so: import requests face_token = 'your_token' post = 'Your Post wowzers' post.replace(' ', '+

FB friends list who have already authenticated the same application

孤人 提交于 2020-01-03 06:06:27
问题 I am working with Facebook graph api: I need to get the list of friends who have already AUTHENTICATED MY APPLICATION. First question: IS THIS POSSIBLE? and if yes please guide me where should I start searching for it. I have already gone through SO for similar question and none suits in my case. Please help! Thank you. 回答1: Facebook API provides a boolean field that can help you filter the User's friends with your application Installed. You need to Make a request for User's Friends List and

Link page post layout is different for post created with the Graph API

青春壹個敷衍的年華 提交于 2020-01-03 05:58:08
问题 When creating unpublished (dark) link posts with Graph API, we are setting the "picture" parameter to override the thumbnail Facebook retrieves from the link url. The post we create this way has a thumbnail size of 90*90 on the old newsfeed design, while the posts created in Power Editor with the identical image has a thumbnail size of 400*210. In the new news feed design posts created both methods look the same. Any idea how to fix this issue in the old new feed design? 回答1: The minimum

Facebook Device Login With Samsung Smart TV

一个人想着一个人 提交于 2020-01-03 05:57:06
问题 I want to use facebook login with my samsung smart tv app. To do that i want to use facebook device login. The information i found is in this link https://developers.facebook.com/docs/facebook-login/using-login-with-devices/ Is it possible to login in your app using facebook device login. Or is there any other sdk or way to do a facebook connect in your smart tv app Thanks 回答1: Samsung does not provide any API for Facebook or Twitter login inside the applications. The native Facebook