PHP: login to facebook and display photo album - authentication

I am working on a website that allow you to login to your FB account (fb login), and then displaying your photos, specifically that already been tagged.
I've tried the Facebook login API, and then displaying photo album on php (a Facebook page not a personal page). The thing is, i had problem when trying to code with the framework fuelPHP and when trying to display the photos of a personal page (not a Facebook page)
would you please show me the right direction? i mean it's my first time utilise Facebook API, the hard things come when i have to face the problem of retrieving the secret key, appID, etc.
Best Regards

for developing facebook apps, maybe this can be help you :
create developer account of facebook , if you have already you can visit this link https://developers.facebook.com/
go to docs then find SDK what you want to choice, ex PHP SDK , there are tutorial how to use php sdk facebook for get data users in your case is how to get photo data who have been tagged by user. but the important thing is facebook has already more restrict on permission usage. by default we can fetch data user only 'email', 'user_friends','public_profile'. more than that you should submission custom permission to facebook, for step by step submission in here https://developers.facebook.com/docs/apps/review#submitlogin
after you're done with point 2 , time to integrated with fuelphp framework , fuelphp have auth package for managing login by social media here the link http://fuelphp.com/docs/packages/auth/opauth/intro.html

Related

link my users social media account in my mobile app, allowing native app to open

I've got an app with user profiles. On the users profile, I let them put links to their other social media accounts. I know app linking requires the correct app's schema and I know those schemas depend on the system (iOS, Android). I want the user to be able to just copy the url of their social media profile (http://www.whateversocialmedia.com/userprofile),paste it and save it. I will manipulate the string get the "userprofile" out and put it in the schema. HERE's the problem, Facebook, requires an ID for the schema, but most people don't know how to get their ID, while it's somewhat easy to get, it does require right clicking on a mouse and searching some code to get, Does Facebook have an api I can hit to send a username and get back a user ID? I feel like they would want people to link to their app easily. I've looked all over Graph API

Instagram Login - How do they do it without even going to the Instagram website?

I've seen some Instagram likers and other tools like follow unfollow apps, login and get access to an instagram account without redirecting to instagram's website.
I mean they have their own custom form built and they ask us to login with our instagram innit.
How do they do that? Does Instagram API allow that? And how do they beat the limit? I heard that instagram has an API limit of Max 5000 calls per day and 2000 follows. But they follow like a ton of people in the same website. How'd they do it?
Below are some examples of Instagram logins that I've used my fake accounts with (I'm sure nobody wanna get their accounts hacked)
They are not using the official but the internal instagram API. This means that they simulate an android or iOS device and login with your credentials so instagram thinks you are logged in from a mobile device. This gives you access to all instagram features (like, follow, upload photo and video and etc)! There are a lot of unofficial instagram APIs on github that do exactly this.
They also use a proxy for each account so they stay beyond the rate limits and don't get flagged.

Login Via Twitter

It has been almost a month and I couldn't figure this out.
I am developing a social network application and I want the users to be able to log in via their Twitter and Facebook account Like the screenshot below:
The Facebook is done, and I am stock with the twitter, Note that these pictures are actually set as a buttons.
What I want exactly is:
The user can be able to login (sign up) on the application using their Twitter and I will retrieve the basic information from Twitter API "Name,Username,Profile picture" in my application and store them in my database.
Note: I am using Parse and I already have a table call user.
Please help me :'(
It sounds like you haven't tried anything with Twitter yet.
If this were my code, I'd probably use the Twitter API to login, which they introduce you to here.
Or you can use one of the handy Objective-C libraries they've listed here

How can I upload a profile picture to Google Plus via API?

I'm trying to build a system which has a tool to upload profile picture to other networks. Twitter have an API point for it, Facebook have some "tricks", but my question is: there is a way to make this on Google +?
I checked the API (https://developers.google.com/+/api/latest/) and didn't found anything, but at Facebook, for example, I can post the picture to a specific album and then send the user to an window to redefine the profile pic. In Google+ I've this option too? What else I can do in this case?
I found something older that permits the upload of new pictures at a Google Apps Profile (https://developers.google.com/google-apps/profiles/#Updating). Maybe this is the path but, as far as I know, the Google+ is the new Google Profile =\

Twitter API - get Account Details from consumerKey and consumerToken

I inherited an application that has tons of users already authorized to get twitter data on their behalf.
The problem is the guy who created is not around anymore and I am left with consumerKey and consumerToken only.
That in itself is sufficient to interact with twitter API, but I now need to know the account details ( in particular the screen_name that created the app) .
I could not find any API to get such details. Any ideas on how to get it.?
There isn't a direct way to find the app owner's screen name, but here are a few things you can do to investigate:
Use the ConsumerKey and ConsumerSecret, that you have, to start the OAuth process.
On the Twitter Authorization screen, you can see the name of the app and who created it.
You might be able to do a Twitter search for the person who created the app and get their screen name.
Continue to authorize the app - this will put it in your app list.
Visit your personal Twitter Settings tab, click on Apps, and find the App that you authorized.
Click on the owner's name, which will lead you to a Web site.
The Web site might be the company Web site, in which case, there is no further help.
The Web site might belong to the owner and it might have a link to the owner's Twitter account where you can get their screen name.
Just know that there's nothing keeping you from using the ConsumerKey/ConsumerSecret that the other guy set up. You can create your own app - preferably with an account that belongs to the company with credentials that the company can access if you're no longer around. Then use the ConsumerKey/ConsumerSecret from the new app on subsequent deployments.