I have started a Facebook marketing campaign for website and web on Codeigniter, show advertise on Facebook, so when you click it will redirect to website directly.
Now I need to save data of users like, number of users coming from Facebook refer URL.
For this reason I Google'd and found this link, but I don't know how to implement this in web. I even read the installation way, but I think I'm making some mistake.
Please guide me on how to implement this library in Codeigniter and get all details.
Related
hi i'm trying to display facebook albums of a page onto my website.
i found this: http://codepen.io/dejanstojanovic/pen/QjwLZp and this does pretty much what I want to accomplish.
$(".fb-album-container").FacebookAlbumBrowser({
account: "natgeo",
accessToken: "775908159169504|cYEIsh0rs25OQQC8Ex2hXyCOut4",
my only concern is: are the account and the accessToken ok to out in the open like that? are there any security issues with it? and if so, how would I go upon hiding them while still accomplishing the script?
it'll be a wordpress site so maybe some workaround with php if necessary?
thanks.
In this case you will use the client token from Facebook Developers. This token can be visible.
The account is the slug of the FB page, that is a public name. In your example:
http://facebook.de/natgeo
To create this token you must log-in to Facebook Developers, create an App assign this app to your website and at the Settings > Advanced > Security there is the Client Token you can use for your application.
I am working on a website that will include a lot of social sharing etc. We are using HybridAuth library as it seems the best way forward for our project.
We want to offer users the ability to invite their facebook friends to view a specific page on our website. We don't want to use the javascript route as that would affect the look of the website as everything else works the same no matter what social network you are using.
What is the best way to invite users to view a website using the facebook api using php?
I want to get data about favourist list, another list or another playlist of Youtube default when user login with OpenID in my website, And I read YoutubeAPI but I don't find any place talk about this. But I see Jasmine (this is an app on iphone - it's like app Youtube) can get data of user when they login with Google OpenID. How can I do the same thing with Jasmine. Anybody, can show me some orientation to resolve this trouble. Thank you so much,
I have a Digg style site, currently each member has a profile page where they add links to their projects and social networking profiles.
I am trying to implement a feature that allows the member to display the last "X" number of status updates to their Facebook wall.
I have been going through the Facebook API FAQs, but unclear on how to best implement this.
Does anyone know a good starting point for writing the API call or where I should look for examples?
My site currently runs on PHP.
Here's a set of point to get you started:
Create an application
Download the Facebook PHP-SDK
Acquire the read_stream,offline_access permissions (more about this here)
Save the user id AND the access_token to your DB.
Next time you want to retrieve the user's wall posts use:
$feed = $facebook->api("/PROFILE_ID/feed", "GET", array("access_token" => "XXXX"));
Always try your Facebook application locally before implementing it on a live website (see link on point 3).
I have made a website on which a user has to log in using a username and password. I have seen these in so many website, we can connect through facebook account. And I want to add the same to my web site. How is it possible,using php sdk or the javascript sdk?
The team at Facebook has spent considerable time documenting this, I would suggest you start there:
http://developers.facebook.com/docs/guides/web#login
http://developers.facebook.com/docs/authentication/
If possible, I would do like dracolytch writes here and create a level of abstraction for both OpenID and Facebook. He is willing to share his code.
Those links are what Facebook likes to call "Badges." Go to your profile. Scroll all the way to the bottom. On the lower left hand column you should see a link that says "Create Profile Badge." Click that. From there you can edit a Badge to show the info you'd like. At the end, it will give you some html code that you can copy and paste into another website or blog. When people click on your Badge, they will get sent directly to your Facebook info box.
Source(s):
http://www.facebook.com/badges.php