Set the profile picture for a test user - facebook

It looks like it's not possible to programmatically set a user's profile picture - you can only upload to an album, then send the user to a "make profile picture" page. Is there any way to do this for a test user?
I'm doing automated testing for a mobile app and want to generate new test users for each test. However, the app requires users to have a profile picture in order to log in, so it's currently not possible for me to create new users on the fly and have them be able to use the app. Is there a workaround for this? And are there plans for this functionality to be implemented?
(I'm using ruby and httparty to communicate with the API.)

Currently you can set up test user's detail from dashboard, but still facebook does not allow to do it programmatically via api.

Related

I want to create a page in my Flutter app that allow users to search other user profiles by using an attributes filter

I am new in Flutter, I'm working on my first application, this is my first question...I want to create a page in my Flutter application that allow users to search for other users profile by using a filter...let me give you an example...it's like the Google Play Store but instead of showing apps I want the application to show user profiles that obviously signed up to my app before and want to offer a service.
Thank you!!!

Facebook login with multiple apps

I have 2 mobile apps. These apps have different names and branding. However, as both these companies are partners, we have the same login system. This means the user should be able to use the same login details for both apps.
I want to add Facebook login to both of these apps.
Solution 1: Use same FB App ID
The easiest option is to use the same registered Facebook App for both applications.
The issue here is that I need a different logo & app name to appear when logging in with Facebook. However, the FB dashboard only allows you to specify one app name & logo for each app.
Solution 2: Create another app in FB Dashboard
Another solution is to create another app in FB developer portal, and use 2 different FB ids. The issue here is that if a user logs into both apps, it is not clear that they are using the same account. Before we had a fb_id attribute, but it looks like we cannot use this anymore. Also, a user can revoke certain permissions on one app, and not the other, causing things to be out of sync.
How can I solve this issue?

Facebook: detecting user apps

Hello I've read the docs and am having trouble getting a definitive answer for the following questions:
Can our app detect if another app is used by a given user. What about if we are admin of, or have the id of both apps.
If one of the apps is removed from FB is there a way to tell if a user had it installed before it was removed? A sort of history of past apps, I guess.
Here:
FB Connect: is there a way to see the logged in user's facebook apps?
Best answer is "I think the most you can do..." but I'd like to know for sure.
Thanks for any help.
If you request the permission user_actions:APP_NAMESPACE you can see the open graph actions that the user has performed in that app.
http://developers.facebook.com/docs/authentication/permissions/#open_graph_perms
In my apps I generally store the user ID of all authorized users in a database, and when I get a call via the "Deauthorize Callback URL" I don't delete the user from the database, but instead only flag the user as deauthorized.
This way I can easily get an overview of users that are using (or have used) any of my apps. This allows me to present special features for users who are using several of my apps.
For example, let's say I made a photo app (like Instagram) and a GPS running app (like Endomondo). If the user takes a photo with Instagram while running with Endomondo, I could present the option to GPS-tag the photo, or add the photo to Endomondo.
This is something that I think we developers should use more. Perhaps present an open API to other apps, to let the apps work together.

Facebook app that signs user up to website upon user allow access

I am looking for a way to make a Facebook app that signs the user up to an external website when the user installs the app and accepts/allows the app to share user information. I have been looking for a while, but still not sure what the main steps would look like. The external website was built using SocialEngine.net.
Then you want to use the registration plug in:
See https://developers.facebook.com/docs/plugins/registration

Facebook Integration in iOS app

I need to post a user-specific text, determined by him, on his wall/timeline when he presses a button (in facebook's tutorial, they make the user login when the app launches, and then it does nothing).
There is a lot of information on the internet but every site does it in other way.
Just wanted to know if there's a specific way to do it.
Thanks!
A quick easy way to add facebook to your app is ShareKit (http://www.getsharekit.com/). This also allows you to add other social network site to your app.
You might want to try Socialize: http://www.GetSocialize.com. It'll allow app users to comment & like within the app, with the option of also sharing out to a social network (Facebook currently live; Twitter coming). Full feature list at http://go.GetSocialize.com/features
DROdio