php - Custom display of posts of Facebook, Twitter, Linkedi and Google+ on your website -
is possible shows posts, feeds etc in customized manner on website? example if don't want use plugins provide embed on website show posts in rectangular box want show posts these social media sites in different manner. reference please visit website , scroll down section below latest news , testimonials find facebook, twitter, linkedin , google+ lorem ipsum text. seems website has not implemented feature (don't know if possible social sites) asking if need implement this possible? have implement on php website, if helps. in advance.
although you're asking different embedding, still believe you're looking "embedding posts". social sites not want rebuild stream experience , put somewhere else -- additionally, content policies on these sites prohibits caching or storing posts because can become privacy issue. finally, if you're pulling lot of posts, frequently, these services, encounter api call limits.
the following resources should started embedding posts don't have worry how you're caching:
if (really, really) wanted build out own solution should client-side in javascript, not in php. this, need use following apis:
- google+ uses activity api
- facebook has graph/feed api
- twitter has search/get tweets api pass from%3a[username] specific user tweets
if try doing in php, easier using client libraries , starting sample code.
make sure you're following content policies of various sites you're aggregating. in other words, if you're doing caching results in mysql database pulled using php script, invalidate cache every 3600 seconds , every time post no longer retrieved api calls.
Comments
Post a Comment