Facebook post limits - php

I created a FB game which allows users to invite there friends. Via the Graph API I retrieve the list of friends and the user selects which friends they want to send a invite. Next the system posts this invite on the friends profile page. This works fine.
But when the users wants to send more than, say 10, invites the API returns this error:
(#341) Feed action request limit reached
I assume this means there is some sort of limit on the amount of posts the system can make on behalf of the user. The users is notified that there will be send an invite to his friend.
Is it possible to get your app certified or something so that the limit will be upgraded. If this isn't possible is there an other way to invite a greater sum of friends.
Regards,
Paul du Long
The Netherlands

News Feed was not intended for invites. Use requests instead:
http://developers.facebook.com/docs/reference/dialogs/requests/

Related

How to get channel's active members' count with Telegram API?

I want to get a channel's active members' count but I don't know which method should I use?
You should use the Bot API
Bot API 2.1. Added more tools for group administrator bots. Your bot can now get a list of administrators and members count in a group,

Group add request using facebook graph api?

Are there any built-in "Group add request" actions that come with the facebook graph API? Like the built-in Like action? That happens with a users request. I would like to do this from an external website, just like the Like action works
For example the user is active in a forum, where different categories have their own facebook group page, and they would like to access the group without having to actually log on facebook and make the request.
From the docs:
Invite User
Applications can invite users to a group by issuing a POST request to /GROUP_ID/members/USER_ID with an app access_token.
Note that user being invited must be a user of the application. The user will be sent a notification saying that they have been invited to the group. The notification will take them to the group page. Users can only be invited once. Subsequent invites will fail.
So you the user will have to authorize your app, and then you can do it.

Subscribe Gate Implementation | Facebook Graph API

I have a facebook app for which user grant me permission to access user_subscriptions to make my app able to access https://graph.facebook.com/me/subscribedto?access_token=#
It let me access all the persons app user is subscribed to.
I use this data let my app know that the user is subscribed to a particular person and let him/her access the site furter, I call this process a Subscribe Gate.
But I'm running into a problem now, that suppose a user is subscribed to about 1K or even 5-10K, then in such case think about the amount of data will be transferred and the load on the php server, facebook will consider my app spam and might block me
I want to know is there a way through which I could search for the person whom user is subscribed to instead of asking for all the persons user is subscribed to and check manually by php script
If I understand correctly, you want to know if a particular person is subscribed to the user of the app. Supposing the person in question's user id is XXXXXXXX, do...
via Graph:
https://graph.facebook.com/fql?q=select subscriber_id from subscription where subscribed_id = me() and subscriber_id='XXXXXXXX'
or via FQL:
select subscriber_id from subscription where subscribed_id = me() and subscriber_id='XXXXXXXX'
-
Note: while in theory the above solutions should work equally well, when I tested the Graph-based solution with the Facebook Graph explorer, the query processed for an unusually long time. FQL worked fine.
Update: To find out if the user of the app is subscribed to a particular person:
select subscriber_id from subscription where subscribed_id = 'XXXXXXXXX' and subscriber_id = me()

Which of the Insights shown in a Facebook Page are available through their API?

I would like to get the insights data from my page on Facebook as can be seen from https://www.facebook.com/USERNAME?sk=page_insights . However I do not know which of these are available through the API, except of "number of fans" and "talking about".
I have print-screened the insights of my page and posted it as an album for better understanding here: http://imgur.com/a/hrL9z
Below is all the insights shown on the facebook page, so I will get a clear answer.
Thank you.
*Because the subject is similar to twitter api, how can I get the numbers of retweets made from my statuses each day? (answered)
Total number of fans.
Total number of friends of fans.
Weekly total reach.
People talking about this.
LIKES (https://www.facebook.com/USERNAME?sk=page_insights_likes)
Demographics
Gender
Age
Country
City
Language
Where Your Likes Came From.
New Likes
Unlikes
Like Sources
REACH (https://www.facebook.com/USERNAME?sk=page_insights_reach)
Who You ReachedGenre + Age
How You Reached People.
Reach -> Organic, Paid, Viral, Total
Unique Users by frequency
Visits to your page
Page Views,
Unique Visitors
Total Tab Views
External Referrers
TALKING ABOUT (https://www.facebook.com/USERNAME?sk=page_insights_talking)
Who Is Talking About Your Page Genre + Age
How people are talking about your page
Talking about this
Viral Search
Information about the insights data available through the Facebook Graph API can be found here.
The Page, Application and Domain objects have an insights connection of this type. Post objects also have this connection where the Post was made by a Page.
Available metrics include application and page hits, adds, removes, and likes.
Note that you require the read_insights permission for the page.
Here is an example API response (with read_insights) for a test page I just created. All of the information you posted in the question would be there (except that the page has no users, so there won't be any proper data).
You can test this with one of your own pages using the Graph API explorer:
Use https://graph.facebook.com/YOUR_PAGE_ID/insights/ as the URL.
Get an access token with read_insights (on the 'Extended Permissions' tab) checked.
Twitter supplies an API to get the list of all your retweeted statuses:
https://dev.twitter.com/docs/api/1/get/statuses/retweets_of_me
If you poll that once a day, you should be able to get the updates with one or two API calls, which shouldn't impact your rate limits significantly.

Get number of members in linkedin group?

I am working on a wordpress website where I need to get the number of members in a particular linkedin group.
The person viewing the website will likely not be logged into linkedin, or ever have a profile.
This is simply for a Check out our linked in group and join 12345 other members! type thing.
Is there a simple way to get the number of members in a linkedin group?
This can be PHP using a rest API, a Javascript API, or whatever works as long as it can work with wordpress.
You would pull the group membership totals from the LinkedIn API via the Groups API.
Unfortunately, in order to comply with the API platform guidelines, you can only retrieve and show the membership totals of a group to the user if the user has authenticated your application against the API via OAuth.
Once you have authenticated the user, you can retrieve the information from the Groups API via a call along the lines of:
http://api.linkedin.com/v1/groups/XXXX:(id,name,site-group-url,num-members)
Where XXXX is the group ID.
http://blog.linkedin.com/2011/11/10/groups-analytics/
Can this information be useful for you?

Categories