I can figure out how to ban users from most pages' discussion boards using the Graph API, but I can't find any way to do this for application pages. Is it possible?
You can use old api calls with new Graph API
You have to use this API Call: http://developers.facebook.com/docs/reference/rest/admin.banUsers/
And here is how you can use it: http://developers.facebook.com/docs/reference/rest/
Related
I'm looking for a way to find most shared/liked/commented facebook post of a location (country/city) by calling facebook api?
Is this possible to create through the Facebook API? I could not find how to pull information in general that many websites offer.
Any help would be greatl! Thanks
No, there is no direct possibility to do that. You can only get Pages/Places by location (Search API), read their feed (/page-id/feed), go through the posts and calculate on your own.
Is it possible to create a Facebook Life Event via Open Graph API? Is it?
No, it's not possible. If it's not in roadmap and it's not in the documentation (documentation should reflect the latest changes to the API now, it's dynamically updated), then it's not available.
The old Facebook Legacy REST API had a function dashboard.publishActivity, however the new Graph API only allows messages to be posted on /me/feed.
Is there a way to send activities using the Graph API?
As mentioned in http://developers.facebook.com/blog/post/552/ Facebook "have removed the section which displayed the News that developers published via the Dashboard APIs in the Games Dashboard". Therefore the dashboard.publishActivity function no longer provides any useful functionality. My recommendation is to switch to either using stream posts or to Requests 2.0, as these will provide the same sort of distribution that you're looking for.
I am developing a Facebook application that will use Facebook events.
I want to be able to create and edit event as well as invite users friends to the event.
I prefer to use the new Graph API to handle all connections with Facebook and I many ways I am able too, but, the Graph API cannot send invites.
I saw that the Old Rest API got far more ways to interact with Facebook so I tried to use both systems on the same time but when I send the Access token that I have created with the Graph API a long with a call to the old API it says "Invalid OAuth 2.0 Access Token".
My question is, is there a way to convert the new Graph API access token to be used with the old rest API? Is there perhaps another way to get both systems to work in the same application?
Please help! All input are welcome.
I´d recommend against the old REST api. Support will be canceled sooner or later and then you will have to port to graph api anyway.
To send invites to your app you can use fbml/xfbml. try the http://developers.facebook.com/docs/reference/fbml/multi-friend-selector togehter with the JavaScript SDK as described here: http://www.takwing.idv.hk/tech/fb_dev/jssdk/learning_jssdk_11.html
good luck!
I started developing a Facebook app using the new Graph API.
I want to check if I have certain permissions, (say publish_stream for example) for a certain user. I know that the old REST API had users.hasAppPermission, but I don't see anything parallel to that in the new Graph API.
How can I do this?
You will need to run FQL on permissions table. If you are using JS SDK you can run it with FB.Data.query().
Yes. In the new Graph API use "/[user]/permissions". See also detailed explanation here and here.