Hybridauth Twitter in yii framework - hybridauth

How to get User details twitter using hybridAuth extension in YII framework?
I am trying to get User Details in Hybridauth.Got Response 410. i dont know why?My Url in Ipaddress thats any problem for getting response from twitter?
My coding:

Related

Instagram Basic Display returns media url with Bad Url Timestamp message

Integrated the Instagram Basic display API with my website. It was working fine. From last few days some of the media url throws error code 403 with the message Bad Url Timestamp(these media were working fine earlier). I have tried refreshing the access token and creating a new one but it was not of any help. Not all the media but few of them are giving this error.
The url which is giving error
https://scontent-lht6-1.cdninstagram.com/v/t51.2885-15/128209372_3881072401959620_4985839256926707810_n.jpg?_nc_cat=108&ccb=2&_nc_sid=8ae9d6&_nc_ohc=KduPs8x3j9QAX944ddk&_nc_ht=scontent-lht6-1.cdninstagram.com&oh=3917991f8e3aaffbcf5f3017a9d78f26&oe=6002114
Can anyone help? TIA!
Instagram Basic display API have been updated. We need to stop using old API and switch to use new Instagram Basic display API.
Please refer these links:
https://embedsocial.com/blog/instagram-api-changes-2020/
https://www.instagram.com/developer/

weibo get status of other user?

I want to get the timeline post of the other user using weibo api but not getting.weibo API. I am using few API Call like user_timeline,trends but not getting any proper data. please, let me know if I missing any API or any settings in App. I have appKey, secret key and redirect url.
As far as I can tell, the API calls that would get you this info have all been restricted. The English documentation is not updated, but the chinese documentation specifies for example that you can only use User_timeline to get your own timeline, not others.
http://open.weibo.com/wiki/2/statuses/user_timeline
接口升级后:uid与screen_name只能为当前授权用户

Enable to post simple text twit using FHSTwitterEngine in IOS

My application having twitter login and post twit on twitter. so i am using FHSTwitterEngine github demo.
i am successfully login using FHSTwitterEngine. But facing problem to twit post on twitter.
At the time of twit , i am getting this error in my device “Twitter NSURLErrorDomain Code=-1012”.
Ao pls any one can give me solution for twit post using FHSTwitterEngine
And original demo is also not working for me in my device. original demo also give same error “Twitter NSURLErrorDomain Code=-1012”
Link of github demo : “https://github.com/alvani/FHSTwitterEngine”
Error code -1012 is kCFURLErrorUserCancelledAuthentication. This should mean that some code somewhere called [sender cancelAuthenticationChallenge:] in response to an authentication challenge. This is likely code inside of DMTwitterOAuth, but it's also possible it's Apple's own code inside the URL-loading system. If you're trying to post a tweet you'll likely need Read and Write access.

Error Code 215: twitter search api?

I am using the twitter search API 1.1 and getting this response
{"errors":[{"message":"Bad Authentication data","code":215}]}
The query I am constructing for search is
https://api.twitter.com/1.1/search/tweets.json?q=.priyanka%20chopra
Am I making the right query or not? Please help me out
The query seems OK, but, are you authenticating your request via OAuth?
https://dev.twitter.com/oauth/overview

iOS facebook SDK 3 > Get the signed request

I try to get the signed request to login the user via a webservice but I only have access to the accessToken on FBSession.
I saw this link
Facebook Signed Request for iOS (HMAC SHA256)
who shows how to convert the signed_request but doesn't show how to get it.
Need help :)
If I undersand you right you want your app to login and then make a call to a server where you need to check the users credential again.
I used this tutorial for the authentication.
Then when I call the server I send the accessToken property as a parameter to check the users credentials on the server. You can get the token value like this:
FBSession.activeSession.accessToken
On the server side you can then set the access token to the value you got from the app.
I compiled a gist that generates a signed request which you can then use to authenticate a user on your server without having to query the graph API.
You can find it here: https://gist.github.com/3962188
You can find the original question I compiled it for here: Facebook iOS SDK to return a signed request object upon login
Please note that most of the code is simply a compilation of existing open source code, but I haven't seen any fully working implementation like this anywhere.

Resources