TheProjecter / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 1 forks source link

Unable to update status on Friends wall #246

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Getting a 403 error when trying to update the status on Friends wall.
I am able to get friends contact etc ,but the update is not working.

Original issue reported on code.google.com by mailbox....@gmail.com on 18 Feb 2013 at 3:43

GoogleCodeExporter commented 9 years ago
I am assuming you are using api() method to post status on friend's wall.

You need publish_actions permission too for that. So you'll have to make 
following entry in oauth_consumer.properties file to get this permission.

graph.facebook.com.consumer_key = XXXX
graph.facebook.com.consumer_secret = XXXXX
graph.facebook.com.custom_permissions = 
publish_stream,publish_actions,user_birthday,user_location,user_photos,offline_a
ccess 

Original comment by tarun.na...@3pillarglobal.com on 19 Feb 2013 at 2:33

GoogleCodeExporter commented 9 years ago
Hi Tarun I see the same error still ,Please see the status code as resposne

2013-02-20 01:45:30,154 INFO
[org.brickred.socialauth.provider.FacebookImpl] - <Calling api function for
url :
https://graph.facebook.com/xxxx/feed>

response--- >403

Original comment by mailbox....@gmail.com on 19 Feb 2013 at 8:21

GoogleCodeExporter commented 9 years ago
Are you able to see this added permission after authorization.
Can you please try again after removing this app from your FB account. So it 
will ask the permission again after authorization.

You can remove your app from following URL:-
http://www.facebook.com/settings?tab=applications

Original comment by tarun.na...@3pillarglobal.com on 22 Feb 2013 at 4:14

GoogleCodeExporter commented 9 years ago
Hi Tarun ,

Yes I do see the permission being set in the  url as below

2013-02-22 22:07:38,973 INFO [org.brickred.socialauth.oauthstrategy.OAuth2]
- <Redirection to following URL should happen :
https://graph.facebook.com/oauth/authorize?client_id=XXXXX&response_type=code&re
direct_uri=http%3A%2F%2Fxxx.xxx.com%2Fapp%2Fsocialauth.do&scope=publish_stream,p
ublish_actions,user_birthday,user_location,user_photos,offline_access

I will also remove the app and create again as per your suggestion and let
you know in few minutes.

Original comment by mailbox....@gmail.com on 22 Feb 2013 at 4:41

GoogleCodeExporter commented 9 years ago
I am closing this issue. Please report a new one if you are still facing the 
same issue.

Original comment by tarun.na...@3pillarglobal.com on 5 Mar 2013 at 11:50