I am creating an app that uses facebook location information when a user creates a status update with a location (check in). In order to do this with a test user I need to be able to create a fake page, but there seems to be a bug in facebook code where a test user cannot create a page. The City/State field is always shown as invalid even when I enter valid information. Is there any way to use test accounts to test status updates with location?
Related
I am currently using a test user (created the facebook devs panel), to set up a fb page, that i need to link to another Instagram Business page.
I already created a fake ig business account using this test user. The proble is that every time i go to the fb business panel to link the other ig account i get this this error.
I need this because i have to go throw the App Review in order to get the permissions that i need for my app, in order to get aproved facebook tells you to record yourself with a test user doing all the app process. But i canĀ“t do this if the test user doesnt have a IG Business account linked to it.
I am working on flutter app using Google Fit API to get information about users activity.
I used flutter plugins fit_kit or health to get the needful.
App is working. I created client ID. I went thru verification process and its basically ready for prime time. I have however one concern. When you launch the app its trying to get permission for the scope:
./auth/fitness.activity.read
First modal dialog leading to actual consent screen is asking me about sharing email, name and profile picture.
I don't have place in the code asking for access to google account's email, picture or name. Can this message be removed or altered to reflect actual situation?
You cannot change that message, it comes by default while choosing the Gmail account, however, after choosing the E-mail you should get something like below which says what data you are getting from that user
As a workaround you can show a popup saying you need permission to access the steps data before asking the permission to choose the preferred Email, upon getting the permission from the user you can show the consent screen.
Having searched through this section many times, I am struggling to find an answer to what I thought would be simple:
Having created an app, I cannot add other facebook verified developer accounts as administrators of the app without first friending them.
This is a professional app (we are using it to provide login through Facebook services), and I cannot find a way to add other colleagues without making them into facebook friends.
I have tried:
Roles > Administrators > Add:
Email address
UID
Link to Profile URI
Name search
I either get back nothing, or a notice that the user is not a facebook user (though they patently are, I can add them as a friend after all).
1) You must acess the apps via: https://developers.facebook.com/apps and select your app. The UI has recently been updated:
2) If the user is not your friend you must add them using facebook User Id otherwise it will not work.
This can be obtained via http://findmyfacebookid.com/ which wil turn thier profile url into an id.
3) The user must also have verified their account. However it will tell you this when you try to add them.
4) They will then receive a request which they must accept.
Did you check with the user to see if they got the notification? (e.g. you should receive a request from me)
This is how a pending request looks.
Using the Roles dashboard, I can create Facebook test user accounts but when trying to make them friends with each other via ticking appropriate accounts and then the 'make friends' button seems to do absolutely nothing.
I have then tried to make these accounts friends via the api call:
https://graph.facebook.com/{test user id 1}/friends/{test user id 2}?method=post&access_token={test user 1 access token}
This results in an OAuth Exception being returned:
{"error":{"message":"Error validating application.","type":"OAuthException"}}
This feature has worked previously for me (clicking the make friends button). Has anyone got any ideas on how to resolve this problem?
Apparently this was a bug, you can now go in via the modify roles menu in the application and select users to 'make friends'. This functionality is still pretty buggy but it does work eventually.
There is ui for it now which is helpful, the only bummer is that I also get the same OAuth exception as the original poster. It'd be nice to be able to do this with an API.
Now Facebook Resolve this from their End. Any developer can manually create a friend list for test user from developer console.
Follow the Below Steps:
Step-1: Login in Your developer console and click on you app project.
Click on Link to login: Facebook Developer Account Link
Step-2: Inside their you can see Roles click on their and then click on Test Users
See Below attached Images:
Step-3: Now click on Add to create number of test user. One Popup is display which you can see in below images. At their you have to mention test user permission which you want to perform.
For example, If you want to fetch list of test user friends then you need user_friends permission.
To get more link about Facebook permission/scope visit Facebook Permission Page
Step-4: Here in below image you can see list of test user which you created using step-3. Now you can click on Edit to add those other test user as friend of one another. for that you to click in Manage this test user friends and add other test user name in popup dialog.
Similarly you can also assign permission or remove test user once as per your requirement. This is it.
About 2% of the time, a user authorizes my Facebook App and with a valid access token, I call Facebook's Graph API only to get back the value "false" instead of a JSON representation of user information. For example:
https://graph.facebook.com/{user_id}?access_token={user_access_token}
--> returns "false"
I can't seem to reproduce the problem myself. My problem may be related to this answer:
http://facebook.stackoverflow.com/questions/5085957/facebook-graph-api-returns-false-for-page-accounts/6595465#6595465
but I can't access my App when I'm logged in as a Page as the answer above suggests, so I have no way to verify whether my problem is the same or not.
Any suggestions?
UPDATE (2011-09-29)
It turns out that this problem happens whenever a user does not have a completed profile. You can reproduce this problem by first logging out of Facebook then creating a Facebook Page here:
http://www.facebook.com/pages/create.php
During the Page creation process, Facebook will ask you to log in with an existing account or create a new one. If you create a new one, Facebook will create a user account for you, but the user account will not have a completed Profile. So instead of Facebook's API providing the information they do have about the user (i.e. the info that it collected during the sign-up process), it returns false. Once the user "Creates a Profile", then Facebook's API will return the proper user graph.
The 'false' return almost always means you're trying to access a piece of content that the current user (or page, app, etc depending on your access_token) has no permission to view.
If you're definitely calling /{user_id}, with a user access token, it's most likely that either the user has Platform disabled, or the user has the session user blocked.
Facebook returns JSON representation of data for a {user_id} (as per your usage) when that user id is either a Profile ID, App Id or Page ID
false is returned when it is neither of the three.. There is something wrong with the {user_id} that you are using. You should log the ids for which you get this error and try making a graph call to then like http://graph.facebook.com/{user_id}.. if this again returns false you will be sure of the fact that it is a wrong id ,,