facebook-graph-api

What should be the leagth of int in a sql table where i store the facebook profile id? [duplicate]

六月ゝ 毕业季﹏ 提交于 2020-01-16 14:13:11
问题 This question already has answers here : What is the datatype of facebook userid (2 answers) Closed 4 years ago . Most often i work with cms but did not worked with sql directly too much before. I am making a facebook page directory where i am saving page ids the length of facebook page id is 10-13 digit sometimes. So what types of int i should use. I am thinking about BIGINT but what should be the length of it ? Here is the table visually. I would be glad if you can advice the length of the

Can I create a second Facebook account for testing without violating the TOS?

醉酒当歌 提交于 2020-01-16 10:52:40
问题 I'd like to develop a Facebook app that reads statuses posted by a user's friends. However, it seems that I can only read friends' statuses if they've given the app a user_friends permission. So, to test my app before I actually release it to my friends, it seems I'll need to set up a test account, set up a friend relationship between that account and my account, and then have the test account give the app permission. Is making a second account for this purpose allowed under the TOS? 回答1:

Can I create a second Facebook account for testing without violating the TOS?

南笙酒味 提交于 2020-01-16 10:51:05
问题 I'd like to develop a Facebook app that reads statuses posted by a user's friends. However, it seems that I can only read friends' statuses if they've given the app a user_friends permission. So, to test my app before I actually release it to my friends, it seems I'll need to set up a test account, set up a friend relationship between that account and my account, and then have the test account give the app permission. Is making a second account for this purpose allowed under the TOS? 回答1:

Can I create a second Facebook account for testing without violating the TOS?

自闭症网瘾萝莉.ら 提交于 2020-01-16 10:50:54
问题 I'd like to develop a Facebook app that reads statuses posted by a user's friends. However, it seems that I can only read friends' statuses if they've given the app a user_friends permission. So, to test my app before I actually release it to my friends, it seems I'll need to set up a test account, set up a friend relationship between that account and my account, and then have the test account give the app permission. Is making a second account for this purpose allowed under the TOS? 回答1:

Can't post to owned FB Page with App in Developer mode using API

自古美人都是妖i 提交于 2020-01-16 10:08:13
问题 I get the following error trying to post to a page I own using FB Graph API. If posting to a group, requires app being installed in the group, and either publish_to_groups permission with user token, or both manage_pages and publish_pages permission with page token; If posting to a page, requires both manage_pages and publish_pages as an admin with sufficient administrative permission The app is in developer mode could still post to pages the app owner owns. This should work. Anything else I

How to add results of Facebook Graph api to array list in Java

梦想与她 提交于 2020-01-16 09:18:09
问题 I am using the Facebook graph api to find out what pages a user is apart of. When the query comes back with a json object it has what I need but, for some reason it doesn't want to add to my array list. The correct value is printed in log.d it seems to skip my arraylist for some reason. Any ideas? Find page function private ArrayList<String> foundPages; private JSONObject jsonObject; public ArrayList<String> findPages() { accessToken = AccessToken.getCurrentAccessToken(); foundPages = new

How do I retrieve country using Facebook Unity Plugins v6.2.2

佐手、 提交于 2020-01-16 04:16:06
问题 Environment: Facebook Unity Plugins v6.2.2 Unity 4.6.8 p1 GraphAPI 2.4 Problem Using Unity with the above SDK Plugin installed, I enter the following: (public_profile,user_friend,user_location,_user_hometown) However the return does not include the hometown. How can I make it so it returns the correct value? I have tried the codes on the following page, but was unsuccessful: How to retrieve user country using facebook Graph API? Thanks FYI, The above command works fine if I use the GraphAPI

Facebook graph search - only about 500 results returned regardless of limit passed

£可爱£侵袭症+ 提交于 2020-01-15 13:33:11
问题 When doing Facebook graph search queries, you have the option of specifying the limit parameter. I am aware of the fact that the hard limit if 5000. However, when I do broad queries, I always retrieve about 500 results (between 480 and 540), even if the limit is well above that. For example, https://graph.facebook.com/search?q=doctor&locale=en_US&limit=1000&type=page&fields=id Returned 527 results when I tried. Providing a valid access_token did not return more results. Does anyone have any

Get user's facebook info after login using facebook php sdk

冷暖自知 提交于 2020-01-15 12:35:08
问题 I am using Facebook javascript sdk and php sdk to login user to my web app. With javascript I have the login/out working and I can get a logged in user's public facebook details. However, when using php, I am not getting the user's facebook details. To give you some info on the app, when I navigate to a certain page that contains a form, the code checks to see if their logged in. If not, they are given a LoginUrl link. Once logged in, I have the $user_id, so now the user can use the form, but

Tagging photos on Facebook with Graph API / PHP SDK

孤街醉人 提交于 2020-01-15 11:59:25
问题 The question is pretty much in the title, but to be more specific, I'm working on a facebook contest for a client in which people have to upload photos to take part in it after accepting rules and subscribing, etc. After going down a long road full of deceptions (here's what I tried that didn't work in the end: uploading to the user's album then tagging the page: nope, can't tag a page uploading to a public album in the page, like "fan photos", or wall photos? can't find anything AT ALL about