is there any way to get facebook APP ID from facebook Fane Page ID?
I've facebook fan page id and now i want to get facebook AppId. please tell me if there is a way or it is possible??
Thanks
It's not possible to get an AppId from a fanpage because fanpages are not Apps, therefore they dont have App Ids.
Perhaps you are thinking of a Page Tab App, and still you can't get it's Id just by having the id of the page the App is in.
Tip: Explaining what you are trying to achieve might help people understand the problem you are having.
Related
I have a website where users can post jobs for free. How can I link these posts to a facebook page about this website? I don't want the users to login to fb.
At this moment I post them to twitter and then using selective tweets to post them on my page. But selective tweets is not able to post logo's specific for that job.
I created a fb app. Did not select anything just gave it a name and got an appID and appSecret. I dont now what to select in "Select how your app integrates with Facebook". Becouse it is not a mobile app and it is not a website with fb login.
Kind regards.
you can use share on facebook facility of facebook ,from http://developer.facebook.com.
you can easily add this to your website.
have fun!
You can do this easily via MYSQL and PHP, depending on how your current site is setup. What i would do is store the jobs into a separate table while saving, like this
(table) Facebook
pageid //numerical value
header //job title
message //job description
So that you can use it for the next part.
Create an application via Facebook and give it authentication to users and your Facebook page.
by adding this application to your page you can then call something like :
$facebook->set_user($user, $session_key);
$facebook->api_client->stream_publish($item['header'], $item['message'], $item['pageid']);
Using your keys from facebook.
Then you can run a Cron that updates every x minutes, and after it has posted it, in an array, you can clear the table for the next row of jobs.
Let me know where you are on this and ill try to help as much as possible.
I want to get facebook friends Id of a specific facebook user. how can i do this?
in detail : I have a server, and form a mobile I'll send a facebook id of a user to that server. accoding to that facebook id I want to get facebook ids of friends of that user. (this should do from server) please any one guide me to do that.
answer = for this we should have access token.
Sounds like facebook wouldn't like that :)
You could scan profile.php?id=&sk=friends and parse the output for the ids.
But I'm sure the habe some fancy Ajax running giving you an easier method.
Have you checked their API? https://developers.facebook.com/docs/reference/api/FriendList/
But you need permissions for that.
I'm looking for a way to get a users facebook profile id or username which i can use to get the profile picture based on the users account. I know how to fetch the picture already (http://graph.facebook.com/username_or_id/picture). I don't want to ask the user to submit their fb username (or worse - their profile id), i need it all done automatically (happy user).
Now i have not setup a Facebook app to use the facebook SDK so i don't have a appID or a secret code...
The reason for not setting it up is because im working on something that not only i will use. It's a project where others will be able to use on their own domain and i don't want to ask the users to setup their own FB app just to get this working so im looking for a way to do it, without the FB SDK? or have i got it all wrong?
You can do everything without FB SDK (it's just a library), but you can do nothing without application. So no, you can't get user's ID without their knowledge
I have created my fan page using Page Tab.
Now I want to display visitor Full Name on that page.
Example : Hello Fullname
It's possible without authentication?
I suggest using the Javascript SDK to achieve this, here's the documentation
... and in answer to your second question, you'll need to get authorisation of use user for your app to make any Graph API request.
You'll need to get the user's name by doing an API request to /me?fields=name get the username.
Using the Facebook Graph API I need a way to get the fan page id using that page created "user id".
Is it possible?
You want to get the ID of the user who created the page? The "creator" of the page may no longer be an admin of the page, or even have an account on Facebook. What you should be looking for is the IDs of the users who are admins of the page, there can be more than one.
Try accessing https://graph.facebook.com/USER/accounts?access_token=...
Just load https://graph.facebook.com/yourpagename and change "yourpagename" to what your username is. it'll output all the info and your id will be in there