Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
is it possible to get list of uids of users who is fan of specific fan page with facebook api ?
I have not (yet) found a method to retrieve all the fans for a page without a key.
You can get a verification if a user is a fan, according to Facebook at least. In practice, use of the method still requires a key.
I'm actually looking for thesame thing, and from the looks of it, the answer is no. User list is not one of the properties you can read according to this page.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want a news feeds on facebook in my site that show only the wallpost that have a specific {#hashtag}.
For Example I want to show only my wallpost that has #thankyou.
I'm newbie so please give a sample code. Thanks in advance.
There isnt any exact API to get the hashtag posts,you may try using search API with q=%23hashtag
https://graph.facebook.com/search?q=%23hashtag&type=post&access_token={ACCESS_TOKEN}
For getting wall posts and newsfeeds
/user/home The user's news feed.
https://graph.facebook.com/me/home?q=%23hashtag&type=post&access_token={ACCESS_TOKEN}
/user/feed The user's wall.
https://graph.facebook.com/me/feed?q=%23hashtag&type=post&access_token={ACCESS_TOKEN}
Permissions :read_stream
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is it possible to get the login locations of Facebook users through the Facebook API or without authenticating as anyone?
For example, I want to know whether a user has logged in from a particular place. All I have is the URL of this user's public profile.
No, you can't - imagine the security implications if you can find out where anyone using Facebook has been logging in from.
This is common sense.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm trying to collect posts from public Facebook users that have a certain word such as, holiday, marriage, etc. What are the best tools and approaches to collect this data?
Use an implementation like this:
https://graph.facebook.com/search?q=Microsoft&type=post&fields=link,message&access_token=YOUR-API-ID|YOUR-APP-SECRET
It fetches results like you have requested. Make sure this call is going on at your server, so that your API ID or API Secret is not exposed.
P.S. If you do not have an app setup, visit Facebook Dev Page
Cheers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am wanting to add some FB functionality to our MVC business site. There are certain events that result from customer activity on our site. I would like to post these events to our company timeline. I have several working examples and tutorials but where I am having difficulty is at log in. I would like to have the system use stored credentials..web config etc. rather than prompt for login. However all the docs etc. show that the OAuth end point doesn't accept these kind of parameters??
So how can I have the system log in using stored credentials?
TIA
JB
Facebook used to have an offline_access permission that is now defunct. What you can now do is trade in a short-lived token for a long-lived token (that I think lasts around 60 days) and store that on your server. Check out the details here to learn more about this process.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is there any way to change the order of posts on a facebook page's wall?
No. Posts on a Page are always displayed in the order of the time they were posted. Newest first.
You can however change what you are looking at in terms of, just your page's posts or everyone's posts (people who LIKE the page).
This is done at the top of your Page's wall.
No you can't.
You can however change the order of the posts on your main page. When you are directly at www.facebook.com you can select "Sort" somewhere at the top. You can choose to either show the top stories first, or the most recent.