facebook-wall

How to see/get all wall posts of a specific Facebook page

牧云@^-^@ 提交于 2019-12-02 15:58:20
For research purposes I need to get all wall posts of the European Commission's Facebook page. I tried it trough this link, but I couldn't get access: http://graph.facebook.com/EuropeanCommission/posts Is there any chance I can get a list of all posts ever published by the Commission? Or do I need to hand-copy-and-paste them from the timeline? Comments are not needed. I just tried in the API Explorer tool and I got the list of posts with pagination links too: http://developers.facebook.com/tools/explorer?method=GET&path=EuropeanCommission%2Fposts { "data": [ { "id": "107898832590939

Taging pictures from facebook API : I think some Array 'Key' Or Json Encode Is the cause

核能气质少年 提交于 2019-12-02 14:44:21
问题 I am trying to post a picture on facebook by the graph API ,How ever I am unable to post that. I get this error Array ( [error] => Array ( [message] => (#100) Invalid parameter [type] => OAuthException [code] => 100 ) ) Here is my Code $sqls= mysql_query($sql); while($sqlr = mysql_fetch_array( $sqls, MYSQL_NUM )) { $users[]= $sqlr['regidfriendsid']; } for ($t=0 ; $t<3;$t++) { $tag[$t] = array( 'tag_uid' => ($users[$t]), 'x' => (20+$x), 'y' => (85+$y) ); $x=$x+200; $z++; if ($z%4==0) { $y=$y

Taging pictures from facebook API : I think some Array 'Key' Or Json Encode Is the cause

允我心安 提交于 2019-12-02 11:30:31
I am trying to post a picture on facebook by the graph API ,How ever I am unable to post that. I get this error Array ( [error] => Array ( [message] => (#100) Invalid parameter [type] => OAuthException [code] => 100 ) ) Here is my Code $sqls= mysql_query($sql); while($sqlr = mysql_fetch_array( $sqls, MYSQL_NUM )) { $users[]= $sqlr['regidfriendsid']; } for ($t=0 ; $t<3;$t++) { $tag[$t] = array( 'tag_uid' => ($users[$t]), 'x' => (20+$x), 'y' => (85+$y) ); $x=$x+200; $z++; if ($z%4==0) { $y=$y+178; $x=0; } } $tag = array($tag[1], $tag[2], $tag[3]); $tags = json_encode($tag); print_r($tags); //

Error while publishing photo on facebook wall using android facebook sdk

霸气de小男生 提交于 2019-12-02 00:41:45
问题 I am using official android Facebook sdk for publishing photo on wall but it crashes after sign in while allowing app permission to my account. I am using android 3.1 library for this app. following is the code which i am using to publish photo at wall, facebook.authorize(ImageCropShare.this, new String[] { "publish_stream" }, new DialogListener() { @Override public void onFacebookError(FacebookError e) { // TODO Auto-generated method stub } @Override public void onError(DialogError

Android Facebook SSO Login failed: invalid_key:Android key mismatch

好久不见. 提交于 2019-12-01 11:46:37
问题 So I've got a facebook SSO implemented in my Android app with sending a post to the FB wall. All the time throughout the development, both in emulator and on my phone, everything worked just fine. I've supplied the hash from my debyg.keystore to FB app, all fine. Now when I have exported my ready app and signed it I have produced a new hash for the release key and put it in the apps settings. When installed it still works perfectly on my phone but doesn't on anyone else's. So I've connected

Posting to a friends wall on facebook privately using graph api

三世轮回 提交于 2019-11-30 21:58:18
I wanted to post a feed to a friends wall from my app and set it as private, which is viewable to the logged in user and the friend. I want to do this using the new Graph api, I saw that if I set the "to" parameter in the feed post, it will be posted to the users friend wall. I found a code here: http://forum.developers.facebook.net/viewtopic.php?id=56458 (Posted by VovaOnline) (link is dead, as facebook has taken down the forum) $result = $facebook->api('/me/feed', 'POST', array( 'from' => array( 'name' => 'Vladimir Ageenko', 'id' => '100001308281502' ), 'name' => 'TEST NAME', 'caption' =>

How do I update Facebook status from my own website?

青春壹個敷衍的年華 提交于 2019-11-30 16:56:19
I have my own site which I am creating a blog/news entries but I want these to upload directly to my Facebook page as I add them. Is there a simple way to do this? My code is something like this <?php $title = "$_Post['title']; $article = "$_Post['article']; // Upload sql and query code code ?> Is there a code or api I can use to also update to my facebook page You will need to sign up to become a facebook developer, create an application, and then using the PHP SDK you can do exactly this. Developers site: http://developers.facebook.com/ PHP SDK: http://developers.facebook.com/docs/reference

How do I update Facebook status from my own website?

試著忘記壹切 提交于 2019-11-30 16:30:33
问题 I have my own site which I am creating a blog/news entries but I want these to upload directly to my Facebook page as I add them. Is there a simple way to do this? My code is something like this <?php $title = "$_Post['title']; $article = "$_Post['article']; // Upload sql and query code code ?> Is there a code or api I can use to also update to my facebook page 回答1: You will need to sign up to become a facebook developer, create an application, and then using the PHP SDK you can do exactly

Is there a way to insert an @mention into a Facebook status update posted with pyfacebook?

倾然丶 夕夏残阳落幕 提交于 2019-11-30 16:14:21
问题 I have some code like the following in my application: message = "Hi, @John Doe!" postID = fb.stream.publish( message = loader.render_to_string('wall_post.phtml', {'message':message}), action_links = simplejson.dumps([{'text': "Check out blah", 'href': "http://blah.dev"}]), target_id = 'nf' ) Is there any way to represent a facebook @mention in the message string so that facebook converts it to a profile link for the mentioned user? 回答1: Mention it's partially available by open graph now. You

Is there a way to insert an @mention into a Facebook status update posted with pyfacebook?

不问归期 提交于 2019-11-30 15:42:36
I have some code like the following in my application: message = "Hi, @John Doe!" postID = fb.stream.publish( message = loader.render_to_string('wall_post.phtml', {'message':message}), action_links = simplejson.dumps([{'text': "Check out blah", 'href': "http://blah.dev"}]), target_id = 'nf' ) Is there any way to represent a facebook @mention in the message string so that facebook converts it to a profile link for the mentioned user? Korayem Mention it's partially available by open graph now. You can use only when posting an open graph ACTION Check: https://developers.facebook.com/docs