Skip to content
Advertisement

Tag: twitter

filesize(): stat failed when publishing video using twitter api | PHP

Hello I am trying to upload a video using twitter API TwitterAPIExchange.php i have worked on the following but getting filesize(): stat failed for http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/WhatCarCanYouGetForAGrand.mp4 in E:wampwwwpostblog_codetwitter_tweet_phptweet.php on line 26 I also tried in this way what am i doing wrong here? but getting Allowed memory size of 134217728 bytes exhausted (tried to allocate 65011744 bytes) error could anyone suggest

How to get the indented text from the Twitter API?

I’m using the followin cURL request to get all tweets from an account: I’m now getting the following array: My problem is that, when rendering the full_text of the tweet, the text does not follow the original indentation, since it renders like this. How to display the original indentation of the tweet? EDIT: I have the following HTML to display

PHP code for moving the cursor using the twitter API

So I already have a script that collects the first 4999 followers ids of a twitter user using the API in xml format. I semi understand how the cursor process works but I am confused how to implement it to loop until it gathers all the followers. The user I am attempting to gather will take about 8 calls. Any

PHP fetch all Twitter Followers and compare them to friends

I am looking for scalable way to do the following: User login Fetch all Friends from Twitter Fetch all Followers from Twitter Display all Friends which aren’t Followers The Problem: How can this be done in a scalable way? An user can have up to 2 million friends or followers. Currently I’m storing both inside an SQLite table and compare

Advertisement