Jump to content

Recommended Posts

hello guys,

             i am not an expert to PHP, but still..

 

Well, i want to know how to fetch public available data from social network sites like: facebook, twitter, google+ etc.

 

with help of cookies and then save them same time to database.....

 

is it possible ?

 

and if YES ! Then please guide me up.

 

Thanks a lot..    :)

ok.. let me describe more..

 

i have read nearly lot how to get details from social network sites using there API's.

 

but i don't understand how to save them to db.. got me ? i can get data if i only wanna see... but i wanna store them to db once my cookie fetch any data on the device.

 

now is that better explanation ? :)

Where are you getting the term "cookie data" from? It doesn't really make any sense in the context of this topic.

 

Anyway, do you know how to connect to and query a database? All you need do is execute an INSERT statement that stores the data you have.

 

What format is your data in?

data will be in format like:

 

https://graph.facebook.com/userid

  "id": "100000028881959",   "name": "username",   "first_name": "name",   "last_name": "last",   "link": "https://www.facebook.com/uid",   "username": "uid",   "gender": "male",   "locale": "en_US"

then similar for Twitter / Google+

 

that is the cookie data i am talking about..

never had experienced with storing cookie data to database.. :(

Edited by icode919
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.